const state = {
  queryParams: null,
  total: 0,
  queryUrl: '',
  matrs: null // 当前查询条件和数据
}
  
const getters = {
  currentMatrs: state => state
}
  
const mutations = {
  SET_CURRENT_MATRS: (state, w) => {
    state.queryParams = w.queryParams
    state.matrs = w.matrs
    state.total = w.total
    state.queryUrl = w.queryUrl
  }
}
  
const actions = {
  setCurrentMatrs: (context, w) => context.commit('SET_CURRENT_MATRS', w)
}
  
export default {
  state,
  getters,
  mutations,
  actions
}
